package gogs_hook

/*
X-Gogs-Delivery [9611012b-8d2c-4f88-84f6-69ed49ca5c7b]
X-Gogs-Event [push]
X-Gogs-Signature [f086fc9c2562e12fc29b97bfd1ddb281a0766a2d4269b5b05ae9f5579d63a939]
Content-Length [2174]
Content-Type [application/json]
X-Github-Delivery [9611012b-8d2c-4f88-84f6-69ed49ca5c7b]
X-Github-Event [push]
User-Agent [GogsServer]
Accept-Encoding [gzip]
*/

var pushData = `
{
	"ref": "refs/heads/master",
	"before": "0000000000000000000000000000000000000000",
	"after": "5c942a3d51a8fd1d325207f0eb32e84f2cf7ecaf",
	"compare_url": "",
	"commits": [
	  {
		"id": "5c942a3d51a8fd1d325207f0eb32e84f2cf7ecaf",
		"message": "test\n",
		"url": "http://localhost:4000/panleiming/test/commit/5c942a3d51a8fd1d325207f0eb32e84f2cf7ecaf",
		"author": {
		  "name": "panleiming",
		  "email": "panleiming@waibaoxia.com",
		  "username": ""
		},
		"committer": {
		  "name": "panleiming",
		  "email": "panleiming@waibaoxia.com",
		  "username": ""
		},
		"added": [
		  "xx.test"
		],
		"removed": null,
		"modified": null,
		"timestamp": "2022-05-22T20:08:10+08:00"
	  }
	],
	"repository": {
	  "id": 1,
	  "owner": {
		"id": 1,
		"username": "panleiming",
		"login": "panleiming",
		"full_name": "",
		"email": "skyknight928@163.com",
		"avatar_url": "https://secure.gravatar.com/avatar/1703dacc6e6e07d1dedee4ac2d42ccd1?d=identicon"
	  },
	  "name": "test",
	  "full_name": "panleiming/test",
	  "description": "",
	  "private": false,
	  "fork": false,
	  "parent": null,
	  "empty": false,
	  "mirror": false,
	  "size": 0,
	  "html_url": "http://localhost:4000/panleiming/test",
	  "ssh_url": "panlm@localhost:panleiming/test.git",
	  "clone_url": "http://localhost:4000/panleiming/test.git",
	  "website": "",
	  "stars_count": 0,
	  "forks_count": 0,
	  "watchers_count": 1,
	  "open_issues_count": 1,
	  "default_branch": "master",
	  "created_at": "2022-05-22T19:41:03+08:00",
	  "updated_at": "2022-05-22T19:41:03+08:00"
	},
	"pusher": {
	  "id": 1,
	  "username": "panleiming",
	  "login": "panleiming",
	  "full_name": "",
	  "email": "skyknight928@163.com",
	  "avatar_url": "https://secure.gravatar.com/avatar/1703dacc6e6e07d1dedee4ac2d42ccd1?d=identicon"
	},
	"sender": {
	  "id": 1,
	  "username": "panleiming",
	  "login": "panleiming",
	  "full_name": "",
	  "email": "skyknight928@163.com",
	  "avatar_url": "https://secure.gravatar.com/avatar/1703dacc6e6e07d1dedee4ac2d42ccd1?d=identicon"
	}
  }  
`
